package com.valsong.sandbox.mock.constant;


/**
 * Mock常量
 *
 * @author Val Song
 */
public class MockConstants {

    private MockConstants() {
    }

    /**
     * mocker模块配置文件路径key
     */
    public static final String MOCK_PROFILE_PATH_KEY = "mock-profile-path";

    public static final String USER_HOME_KEY = "user.home";

    public static final String DEFAULT_MOCK_PROFILE_PATH = System.getProperty(USER_HOME_KEY) + "/.sandbox-module/mocker.json";

    /**
     * 日志级别
     */
    public static final String LOG_LEVEL = "log-level";

    /**
     * mocker模块名称
     */
    public static final String MOCKER = "mocker";

    /**
     * mocker模块方法名
     */
    public static final String MOCK = "mock";

    /**
     * mocker名称
     */
    public static final String MOCKER_MODULE_NAME = MOCKER + "/" + MOCK;

    /**
     * mocker版本号
     */
    public static final String MOCKER_VERSION = "0.0.2";

    /**
     * mocker作者
     */
    public static final String MOCKER_AUTHOR = "valsong@outlook.com";

    /**
     * groovy脚本生成的class的前缀
     */
    public static final String GROOVY_SCRIPT_CLASS_PREFIX = "Groovy&";

    /**
     * groovy脚本生成的class的code base的前缀
     */
    public static final String GROOVY_SCRIPT_CODE_BASE_PREFIX = "GroovyScript&";


    public static final String SHOULD_MOCK_METHOD = "shouldMock";

    public static final String MOCK_METHOD = "mock";

}
